package vn.ugame.model.entity;

import java.util.Date;

@Entity
public class Comment {
    
    @Collumn(name="commentId")
    private String id;
    private Item item;
    @Collumn(name="createdDate")
    private java.util.Date createdDate;
    private Customer customer;
    @Collumn(name="content")
    private String content;
    @Collumn(name="commentEnable")
    private boolean enable;

    public Customer getCustomer() {
        return customer;
    }

    public void setCustomer(Customer customer) {
        this.customer = customer;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getCreatedDate() {
        return createdDate;
    }

    public void setCreatedDate(Date createdDate) {
        this.createdDate = createdDate;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Item getItem() {
        return item;
    }

    public void setItem(Item item) {
        this.item = item;
    }

    public boolean isEnable() {
        return enable;
    }

    public void setEnable(boolean enable) {
        this.enable = enable;
    }

    public Comment() {
    }

    public Comment(String id, Date createdDate, String content, boolean enable) {
        this.id = id;
        this.createdDate = createdDate;
        this.content = content;
        this.enable = enable;
    }   
}
